//
//  VoiceRecordButton.h
//  YunShouHu
//
//  Created by WangQiang on 16/6/24.
//  Copyright © 2016年 WangQiang. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol VoiceRecordDelegate<NSObject>
-(void)voiceRecordFinshRecord:(NSString *)recordPath recordData:(NSData *)recordData duration:(CGFloat)duration error:(NSError *)error;
@end
@interface VoiceRecordButton : UIButton
-(instancetype)initVocieRecordButton;
@property (weak ,nonatomic) id<VoiceRecordDelegate> delegate;
@end
